package one.stand.service;

import one.stand.model.ResultModel;
import one.stand.request.AssembleRequest;
import one.stand.request.GoodsAssembleRequest;
import one.stand.response.AssembleResponse;
import one.stand.response.GoodsAssembleResponse;

import java.util.List;

/**
 * @author Administrator
 */
public interface AssembleService {

    /**
     * 添加拼团配置
     */
    ResultModel<Boolean> insertGoodsAssemble(GoodsAssembleRequest request);

    /**
     * 拼团商品草稿箱列表
     */
    ResultModel<List<GoodsAssembleResponse>> selectGoodsAssembleDraftsPage(GoodsAssembleRequest request);

    /**
     * 拼团数据删除
     */
    ResultModel<Boolean> delGoodsAssembleInfo(GoodsAssembleRequest request);

    /**
     * 发布拼团配置
     */
    ResultModel<Boolean> releaseGoodsAssemble(GoodsAssembleRequest request);

    /**
     * 拼团列表
     */
    ResultModel<List<AssembleResponse>> selectGoodsAssemblePage(AssembleRequest request);

    /**
     * 拼团详情
     */
    ResultModel<AssembleResponse> getGoodsAssembleInfo(AssembleRequest request);
}
